
//***********************************************
//
//      Filename: practive1.java
//
//        Author: wwb
//        Mails: 1274860621@qq.com
//        Create: 2018-04-07 18:47:32
// Last Modified: 2018-04-07 18:47:32
//***********************************************
import java.util.Scanner;
public class practive1{
public static void main(String[]args){
  String name1;
 String name2;

Scanner scan = new Scanner(System.in);
System.out.println("name1: ");
name1 = scan.nextLine();
System.out.println("name2: ");
name2 = scan.nextLine();

if (name1.equals(name2))
System.out.println("The name is the same.");
else
System.out.println("The names are not the same,");
}
}

  
